Document.Export
Description:
Exports the current view or a selection of views in SAT format.
Exports the current view or a selection of views in SAT format.
Remarks:
All the views must be 3D views for the Export to succeed.
All the views must be 3D views for the Export to succeed.
Overloads (14):
Export(String,String,ICollection[ElementId],SATExportOptions)
public bool Export(
string folder,
string name,
ICollection<ElementId> views,
SATExportOptions options
)
-
StringfolderOutput folder, into which file(s) will be exported. The folder must exist.
-
StringnameEither the name of a single file or a prefix for a set of files. If empty, automatic naming will be used.
-
ICollection<ElementId>viewsSelection of views to be exported. The set must contain at least one valid view.
-
optionsVarious options applicable to the SAT format. For now, this option is empty. If null, all options will be set to their respective default values.
-
NullOrEmpty -or- Contains invalid characters. -or- non empty list of views must be provided. -or- At least one provided viewId does not correspond to a printable 3D view.
-
A non-optional argument was null
-
Thrown when the directory does not exist.
-
This method may not be called during dynamic update.
-
Export is temporarily disabled. -or- Exporting is not allowed in the current application mode.
-
The folder does not exist.
-
The ShapeExporter functionality is not available in the installed Revit, or the Material Library is missing.